﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="EnhancedCheckBoxes.aspx.cs" Inherits="EwcControlTest.EnhancedCheckBoxes" %>
<%@ Register Assembly="EnhancedWebControls" Namespace="EnhancedWebControls" TagPrefix="ewc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="HeaderSection">
        Enhanced Check Boxes
    </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" RenderMode="Inline">
        <ContentTemplate>
                <div class="MessageSection">
                    The check boxes below are testing various types of functionality. All the controls are using default styles unless otherwise noted.
                </div>
                <div class="Section">
                    <ewc:EnhancedCheckBox id="EnhancedCheckBox1" runat="server" LabelText="Label Mode:" LabelWidth="200px" FieldWidth="220px" LabelMode="true" />
                    <ewc:EnhancedCheckBox id="EnhancedCheckBox2" runat="server" LabelText="Error Mode:" LabelWidth="200px" FieldWidth="220px" ErrorMode="true" />
                    <ewc:EnhancedCheckBox id="EnhancedCheckBox3" runat="server" LabelText="Field Description Set:" LabelWidth="200px" FieldWidth="220px" ErrorMode="false" FieldDescription="Field Description" />
                    <ewc:EnhancedCheckBox id="EnhancedCheckBox4" runat="server" LabelText="Error Mode Description:" LabelWidth="200px" FieldWidth="220px" ErrorMode="true" FieldDescription="Field Description Error" />
                    <ewc:EnhancedCheckBox id="EnhancedCheckBox5" runat="server" LabelText="Disabled Pixel offset:" LabelWidth="200px" FieldWidth="220px" LabelMode="false" DisableCheckBoxPixelShift="true" />                    
      
                <div style="float:left;clear:both;width:960px">
                    <ewc:EnhancedCheckBox id="EnhancedCheckBox6" runat="server" LabelText="AutoPostBack:" LabelWidth="200px" FieldWidth="220px" LabelMode="false" AutoPostBack="true" OnCheckedChanged="CheckChangedHandler"/>
                    <asp:Label ID="lblResults1" runat="server" cssclass="TestResults" Visible="false"></asp:Label>
                </div>
                </div>              
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
